package dq.study.designmodel.iteator;

/**
 * @author dongqun
 * @Description:
 * @date 2019/3/13 22:26
 */
public class Node<T> {

    T data;
    Node<T> next;

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public Node<T> getNext() {
        return next;
    }

    public void setNext(Node<T> next) {
        this.next = next;
    }
}
